Skip to content

Conversation

@volivan239
Copy link
Collaborator

@volivan239 volivan239 commented Nov 1, 2022

Description

Refactor class rendering

  • for test classes
  • for util classes
  • support UtUtils class rendering in Kotlin
    by the way, fix known problems of Kotlin codegen that util methods are invisible

Fixes # (1255)
Fixes # (1256)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • Refactoring (typos and non-functional changes)

How Has This Been Tested?

Automated Testing

Standard utbot pipeline

Manual Scenario

Check base codegen scenarios in Java and Kotlin, requiring and not requiring UtUtils class.

Checklist (remove irrelevant options):

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • The change contains enough commentaries, particularly in hard-to-understand areas
  • New documentation is provided or existed one is altered
  • All tests pass locally with my changes

@volivan239 volivan239 force-pushed the volivan239/fixing_kotlin_ututils branch from da98f17 to 85f7b8c Compare November 1, 2022 07:48
@volivan239 volivan239 force-pushed the volivan239/fixing_kotlin_ututils branch from 3917343 to 8efde2d Compare November 1, 2022 14:09
@EgorkaKulikov EgorkaKulikov marked this pull request as ready for review November 1, 2022 14:27
@EgorkaKulikov EgorkaKulikov self-requested a review November 1, 2022 14:27
@EgorkaKulikov EgorkaKulikov changed the title Make Kotlin UtUtils object Refactor Class rendering in codegen (merge abstractions for regular and test classes) Nov 1, 2022
@EgorkaKulikov EgorkaKulikov merged commit e625e45 into main Nov 1, 2022
@EgorkaKulikov EgorkaKulikov deleted the volivan239/fixing_kotlin_ututils branch November 1, 2022 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants